﻿@model SchoolProject2012.Areas.Pedagogie.Models.COURS

@{
    ViewBag.Title = "Edit";
}

<h2>Edit</h2>

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")"></script>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>COURS</legend>

        @Html.HiddenFor(model => model.ID_COURS)

        <div class="editor-label">
            @Html.LabelFor(model => model.ID_MOD)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.ID_MOD)
            @Html.ValidationMessageFor(model => model.ID_MOD)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.IDSALLE, "SALLE")
        </div>
        <div class="editor-field">
            @Html.DropDownList("IDSALLE", String.Empty)
            @Html.ValidationMessageFor(model => model.IDSALLE)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.LOGINPERS, "PROFESSEUR")
        </div>
        <div class="editor-field">
            @Html.DropDownList("LOGINPERS", String.Empty)
            @Html.ValidationMessageFor(model => model.LOGINPERS)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.DATE_DBT)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.DATE_DBT)
            @Html.ValidationMessageFor(model => model.DATE_DBT)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.DATE_FIN)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.DATE_FIN)
            @Html.ValidationMessageFor(model => model.DATE_FIN)
        </div>

        <p>
            <input type="submit" value="Save" />
        </p>
    </fieldset>
}


